//生成一个团队人员的函数
function build(name:string,...members:string[]):string{
    return "团队名称："+name+'，成员:'+members.join(',');
}

// let members = ['admin','jack','rose','tom'];
let s = build('汪汪队','admin','jack','rose','tom','mike');
console.log(s);
